import request from '../utils/request.js'

// 获取表情
export const getFaceAPI = () => request.get('/chat/face', {})

// 获取留言板信息
export const getLeaveMessageAPI = (user_id, time) => request.get('/chat/leave', {
    user_id,
    time
})

// 发布留言
export const postLeaveMessageAPI = (valueHtml, from_user_id, to_user_id) => request.post('/chat/leaving', {
    valueHtml,
    from_user_id,
    to_user_id
})